using Domain.Base;
using DtoFw.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Domain.Entity {

    [SugarTable("room_box")]
    [DB(EnumDatabase.Mysql, Cache = false)]
	public partial class RoomBoxEntity : BaseEntity {

		
		/// <summary>
		/// 区域ID
		/// </summary>
		[SugarColumn(ColumnName = "AreaId")]
		public long AreaId { get; set; }

		/// <summary>
		/// 柜子ID
		/// </summary>
		[SugarColumn(ColumnName = "CabinetId")]
		public long CabinetId { get; set; }

		/// <summary>
		/// 箱子编号
		/// </summary>
		[SugarColumn(ColumnName = "Code")]
		public string Code { get; set; } = string.Empty;

		/// <summary>
		/// 智能密集柜所在列
		/// </summary>
		[SugarColumn(ColumnName = "ColNO")]
		public int? ColNO { get; set; }

		/// <summary>
		/// 列数
		/// </summary>
		[SugarColumn(ColumnName = "Columns")]
		public int? Columns { get; set; }

		/// <summary>
		/// 智能密集柜箱子所在左右面 左:1 右:0
		/// </summary>
		[SugarColumn(ColumnName = "Direction")]
		public int? Direction { get; set; }

		/// <summary>
		/// 箱子位置
		/// </summary>
		[SugarColumn(ColumnName = "Location")]
		public string Location { get; set; } = string.Empty;

		/// <summary>
		/// 箱子名称
		/// </summary>
		[SugarColumn(ColumnName = "Name")]
		public string Name { get; set; } = string.Empty;

		[SugarColumn(ColumnName = "OrganId")]
		public long? OrganId { get; set; }

		/// <summary>
		/// 单位名称
		/// </summary>
		[SugarColumn(ColumnName = "OrganName")]
		public string OrganName { get; set; } = string.Empty;

		/// <summary>
		/// 区划编号
		/// </summary>
		[SugarColumn(ColumnName = "ComNo")]
		public string ComNo { get; set; } = string.Empty;

		/// <summary>
		/// Port号，智能柜特性
		/// </summary>
		[SugarColumn(ColumnName = "Port")]
		public int? Port { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		[SugarColumn(ColumnName = "Remark")]
		public string Remark { get; set; } = string.Empty;

		/// <summary>
		/// 行数
		/// </summary>
		[SugarColumn(ColumnName = "Rows")]
		public int? Rows { get; set; }

		/// <summary>
		/// 节数,几列代表一节，密集柜特性 暂时冗余 不使用
		/// </summary>
		[SugarColumn(ColumnName = "Section")]
		public int? Section { get; set; }


		/// <summary>
		/// 物品数量
		/// </summary>
		[SugarColumn(ColumnName = "EviCount")]
		public int? EviCount { get; set; }
		/// <summary>
		/// 可存放箱子数
		/// </summary>
		[SugarColumn(ColumnName = "Total")]
		public int? Total { get; set; }

		/// <summary>
		/// 体积
		/// </summary>
		[SugarColumn(ColumnName = "Volume")]
		public double Volume { get; set; }


	}

}
